package com.demo.demo.exception;

import com.demo.demo.common.ExceptionCode;

/**
 * <p>classname:BadRequestException</p>
 * <p>Description:请求体错误</p>
 * <p>Company:斯润天朗</p>
 * @author guogw
 * @version V2.0
 * @date 2018年1月4日 下午4:55:28
 */
public class BadRequestException extends AbstractApiException {

	private static final long serialVersionUID = -895435634740291388L;

	public BadRequestException(String code, String message) {
        super(code, message);
    }
	
	public BadRequestException(String message) {
        super(ExceptionCode.BAD_REQUEST, message);
    }
	
}
